package org.example.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @TableName take_bankcard
 */
@TableName(value = "take_bankcard")
@Data
public class Bankcard implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private Integer uid;
    /**
     * 用户余额
     */
    private BigDecimal balance;
    /**
     * 银行卡类型
     */
    private Integer bankType;
    /**
     * 银行卡账号
     */
    private String bankAccount;
    /**
     * 转账限额
     */
    private BigDecimal transferLimit;
    @TableField(exist = false)
    private String uname;
    @TableField(exist = false)
    private String bname;
}